home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Classes / HashFile / Makefile < prev    next >
Makefile  |  1995-06-12  |  337b  |  16 lines

  1. CFLAGS = -g -Wall -O -I .
  2.  
  3. LIBS = -L. -lHashFile -ltext
  4.  
  5. HashFile.o: HashFile.m HashFile.h
  6.     ${CC} ${CFLAGS} -c HashFile.m
  7.     ar crv libHashFile.a HashFile.o
  8.     ranlib libHashFile.a
  9.     
  10. HashExample: libHashFile.a HashExample.m
  11.     ${CC} -o HashExample ${CFLAGS} -DDATABASE='"PhoneWords"' HashExample.m ${LIBS}
  12.     
  13. clean:
  14.     rm -f *.a *.o HashExample
  15.  
  16.